Optimal. Leaf size=120 \[ \frac{f (a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,-m;1-m;\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}\right )}{m (d e-c f)^2}+\frac{d (a+b x)^{m+1} (c+d x)^{-m-1}}{(m+1) (b c-a d) (d e-c f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0611344, antiderivative size = 135, normalized size of antiderivative = 1.12, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {96, 131} \[ \frac{d (a+b x)^{m+1} (c+d x)^{-m-1}}{(m+1) (b c-a d) (d e-c f)}-\frac{f (a+b x)^{m+1} (c+d x)^{-m-1} \, _2F_1\left (1,m+1;m+2;\frac{(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(m+1) (b e-a f) (d e-c f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 96
Rule 131
Rubi steps
\begin{align*} \int \frac{(a+b x)^m (c+d x)^{-2-m}}{e+f x} \, dx &=\frac{d (a+b x)^{1+m} (c+d x)^{-1-m}}{(b c-a d) (d e-c f) (1+m)}-\frac{f \int \frac{(a+b x)^m (c+d x)^{-1-m}}{e+f x} \, dx}{d e-c f}\\ &=\frac{d (a+b x)^{1+m} (c+d x)^{-1-m}}{(b c-a d) (d e-c f) (1+m)}-\frac{f (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (1,1+m;2+m;\frac{(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f) (d e-c f) (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0699567, size = 115, normalized size = 0.96 \[ \frac{(a+b x)^{m+1} (c+d x)^{-m-1} \left (f (b c-a d) \, _2F_1\left (1,m+1;m+2;\frac{(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )+a d f-b d e\right )}{(m+1) (b c-a d) (b e-a f) (c f-d e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.064, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{-2-m}}{fx+e}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 2}}{f x + e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 2}}{f x + e}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 2}}{f x + e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]